﻿<%@ Page Title="" Language="C#" MasterPageFile="~/templete/UserCenter_inner.master" AutoEventWireup="true" CodeFile="UC_AccountSetting.aspx.cs" Inherits="Member_UC_AccountSetting" %>

<asp:Content ID="Content1" ContentPlaceHolderID="cph_Head" Runat="Server">
<script type="text/javascript">
    $(function () {
        $('.con > h3').each(function () {
            var $obj = $(this);
            $obj.css('cursor', 'pointer').click(function () {
                $('.con > h3').next().fadeOut('fast');
                if ($obj.next().css('display') == 'none') {$obj.next().fadeIn(1000); }
                else {$obj.next().fadeOut('fast');};
            });
        });
    });
</script>
<style type="text/css">
    .checkBoxList label{margin:2px 1em 0 .2em;}
    .weiboListCheckBox {float:right; margin-right:5em;}
    select{ font-size:13px;}
</style>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="cph_Content" Runat="Server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
<div id="anav" style=" position:absolute; right:30px; top:20px; width:160px;">
    <ul>
        <li><a href="#">基本资料设定</a></li>
        <li><a href="#">微博绑定与新闻订阅</a></li>
        <li><a href="#">申请e家认证</a></li>
    </ul>
</div>
<div id="contents" class="fl">
	<div class="new-box-gray single fl">
        <div class="con">
        	<h3>基本资料 <span>Common Info</span></h3>
        	<div class="uset-main" style="display:block;">
        	<table border="0" cellspacing="0" cellpadding="0" class="form">
            <tbody>
            <tr class="bgcolor">
                <th>邮箱：</th>
                <td id="Td7">Arfen@126.com</td>
                <td class="tr"></td>
            </tr>
            <tr>
                <th>昵称：</th>
                <td>
                    <asp:TextBox ID="tb_NickName" CssClass="text" runat="server"></asp:TextBox></td>
                <td width="115"></td>
             </tr>
            <tr class="bgcolor">
                <th>性别：</th>
                <td>
                    <asp:RadioButtonList ID="rbl_Gender" runat="server" RepeatDirection="Horizontal" RepeatLayout="Flow" CssClass="checkBoxList">
                        <asp:ListItem Value="保密" Text="保密"></asp:ListItem>
                        <asp:ListItem Value="男" Text="男"></asp:ListItem>
                        <asp:ListItem Value="女" Text="女"></asp:ListItem>
                    </asp:RadioButtonList></td>
                <td class="tr"></td>
            </tr>
            <tr>
                <th>生日：</th>
                <td>
                    <asp:DropDownList ID="ddl_Birthday_Year" runat="server">
                    </asp:DropDownList>年
                    <asp:DropDownList ID="ddl_Birthday_Month" runat="server">
                        <asp:ListItem Value="1" Text="1"></asp:ListItem>
                        <asp:ListItem Value="2" Text="2"></asp:ListItem>
                        <asp:ListItem Value="3" Text="3"></asp:ListItem>
                        <asp:ListItem Value="4" Text="4"></asp:ListItem>
                        <asp:ListItem Value="5" Text="5"></asp:ListItem>
                        <asp:ListItem Value="6" Text="6"></asp:ListItem>
                        <asp:ListItem Value="7" Text="7"></asp:ListItem>
                        <asp:ListItem Value="8" Text="8"></asp:ListItem>
                        <asp:ListItem Value="9" Text="9"></asp:ListItem>
                        <asp:ListItem Value="10" Text="10"></asp:ListItem>
                        <asp:ListItem Value="11" Text="11"></asp:ListItem>
                        <asp:ListItem Value="12" Text="12"></asp:ListItem>
                    </asp:DropDownList>月
                    <asp:DropDownList ID="ddl_Birthday_Day" runat="server">
                        <asp:ListItem Value="1" Text="1"></asp:ListItem>
                        <asp:ListItem Value="2" Text="2"></asp:ListItem>
                        <asp:ListItem Value="3" Text="3"></asp:ListItem>
                        <asp:ListItem Value="4" Text="4"></asp:ListItem>
                        <asp:ListItem Value="5" Text="5"></asp:ListItem>
                        <asp:ListItem Value="6" Text="6"></asp:ListItem>
                        <asp:ListItem Value="7" Text="7"></asp:ListItem>
                        <asp:ListItem Value="8" Text="8"></asp:ListItem>
                        <asp:ListItem Value="9" Text="9"></asp:ListItem>
                        <asp:ListItem Value="10" Text="10"></asp:ListItem>
                        <asp:ListItem Value="11" Text="11"></asp:ListItem>
                        <asp:ListItem Value="12" Text="12"></asp:ListItem>
                        <asp:ListItem Value="13" Text="13"></asp:ListItem>
                        <asp:ListItem Value="14" Text="14"></asp:ListItem>
                        <asp:ListItem Value="15" Text="15"></asp:ListItem>
                        <asp:ListItem Value="16" Text="16"></asp:ListItem>
                        <asp:ListItem Value="17" Text="17"></asp:ListItem>
                        <asp:ListItem Value="18" Text="18"></asp:ListItem>
                        <asp:ListItem Value="19" Text="19"></asp:ListItem>
                        <asp:ListItem Value="20" Text="20"></asp:ListItem>
                        <asp:ListItem Value="21" Text="21"></asp:ListItem>
                        <asp:ListItem Value="22" Text="22"></asp:ListItem>
                        <asp:ListItem Value="23" Text="23"></asp:ListItem>
                        <asp:ListItem Value="24" Text="24"></asp:ListItem>
                        <asp:ListItem Value="25" Text="25"></asp:ListItem>
                        <asp:ListItem Value="26" Text="26"></asp:ListItem>
                        <asp:ListItem Value="27" Text="27"></asp:ListItem>
                        <asp:ListItem Value="28" Text="28"></asp:ListItem>
                        <asp:ListItem Value="29" Text="29"></asp:ListItem>
                        <asp:ListItem Value="30" Text="30"></asp:ListItem>
                    </asp:DropDownList>日
                    
                </td>
                <td class="tr"><select name="privacy[birthday]" id="privacy_birthday"><option value="0" selected="selected">所有人可见</option><option value="1">仅好友可见</option><option value="2">仅自己可见</option></select></td>
            </tr>
            <tr class="bgcolor">
                <th>手机号：</th>
                <td>
                    <asp:TextBox ID="tb_Mobile" CssClass="text" runat="server"></asp:TextBox>
                </td>
                <td class="tr"></td>
            </tr>
            <tr>
                <th>QQ：</th>
                <td>
                    <asp:TextBox ID="tb_Qq" CssClass="text" runat="server"></asp:TextBox>
                </td>
                <td class="tr"></td>
            </tr>
            <tr class="bgcolor">
                <th>MSN：</th>
                <td>
                    <asp:TextBox ID="tb_Msn" CssClass="text" runat="server"></asp:TextBox>
                </td>
                 <td class="tr"></td>
            </tr>
            <tr>
                <th>个性签名：</th>
                <td>
                    <asp:TextBox ID="tb_Signature" CssClass="text" runat="server"></asp:TextBox></td>
                <td class="tr"></td>
            </tr>
            <tr class="bgcolor">
                <th>个人简介：</th>
                <td>
                    <asp:TextBox ID="tb_Brief" runat="server" TextMode="MultiLine" Width="360px" Height="6em"></asp:TextBox></td>
                <td class="tr" ></td>
            </tr>
            <tr>
                <th>&nbsp;</th>
                <td id="">
                <asp:Button ID="btn_SaveBasic" runat="server" Text="保存" CssClass="active" onclick="btn_SaveBasic_Click" /></td>
            </tr>
        </tbody>
        </table>
    	</div>
		</div>
	</div>
	
	<div class="new-box-gray single fl" >
        <div class="con">
        	<h3>微博绑定与新闻订阅 <span>Weibo & News</span></h3>
        	<div class="uset-main">
        	<table border="0" cellspacing="0" cellpadding="0" class="form">
            <tbody><tr class="bgcolor">
                <th>已绑定微博：</th>
                <td>
                    <ul>
                    <asp:Repeater ID="r_WeiboAccountList" runat="server">
                        <ItemTemplate>
                            <li class='<%#DataBinder.Eval(Container.DataItem, "wbtype")%>'><b><%#DataBinder.Eval(Container.DataItem, "WeiboUserId")%> </b>
                                <asp:CheckBox ID="cb_RemoveWeibo" runat="server" CssClass="weiboListCheckBox checkBoxList" Text="解除绑定" AccessKey='<%#DataBinder.Eval(Container.DataItem, "id")%> '/></li>
                        </ItemTemplate>
                    </asp:Repeater>
                    </ul>
                </td>
                <td width="115"></td>
             </tr>
            <tr>
                <th>添加微博：</th>
                <td id="Td2">
                    <asp:RadioButtonList ID="rbl_WeiboType" runat="server" CssClass="checkBoxList" RepeatDirection="Horizontal" RepeatLayout="Flow">
                        <asp:ListItem Value="sina" Text="新浪微博"></asp:ListItem>
                        <asp:ListItem Value="tenc" Text="腾讯微博"></asp:ListItem>
                    </asp:RadioButtonList>
                    <asp:Button ID="btn_AddWeiboAccount" runat="server" Text="前往认证" CssClass="active" onclick="btn_AddWeiboAccount_Click" />
                    </td>
                <td class="tr">
                </td>
            </tr>
            <tr class="bgcolor">
                <th>新闻订阅：</th>
                <td valign="bottom">
                    <asp:ListBox ID="lb_NewsCategory" runat="server" Height="16em" Width="18em" SelectionMode="Multiple" >
                    </asp:ListBox>
                    <asp:CheckBox ID="cb_SubAll" runat="server" text="全选"></asp:CheckBox>
                </td>
                <td class="tr">Tips: 按住Ctrl可以进行多项选择哦~</td>
            </tr>
            <tr>
                <th>&nbsp;</th>
                <td id="Td3">
                <asp:Button ID="btn_SaveSubs" runat="server" Text="保存" CssClass="active" onclick="btn_SaveSubs_Click" /></td>
            </tr>
        </tbody>
        </table>
    	</div>
		</div>
	</div>

    <div class="new-box-gray single fl">
        <div class="con">
        	<h3>申请e家认证 <span>Verification</span></h3>
        	<div class="uset-main">
        	<table border="0" cellspacing="0" cellpadding="0" class="form">
            <tbody>
            <tr>
                <th>您的学号：</th>
                <td>
                    <asp:TextBox ID="tb_SchoolNo" CssClass="text" runat="server"></asp:TextBox>
                </td>
                <td class="tr"></td>
            </tr>
            <tr class="bgcolor">
                <th>所在学院：</th>
                <td id="Td4">
                    <asp:DropDownList ID="ddl_College" CssClass="text" runat="server">
                    </asp:DropDownList></td>
                <td width="115"></td>
             </tr>
            <tr>
                <th>所学专业：</th>
                <td id="Td5">
                    <asp:TextBox ID="tb_Major" CssClass="text" runat="server"></asp:TextBox></td>
                <td class="tr"></td>
            </tr>
            <tr class="bgcolor">
                <th>您的家乡：</th>
                <td>
                <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                    <ContentTemplate>
                        <asp:DropDownList ID="ddl_Province" CssClass="ddlText" runat="server" 
                            AutoPostBack="True" onselectedindexchanged="ddl_Province_SelectedIndexChanged">
                        </asp:DropDownList>
                        <asp:DropDownList ID="ddl_City" CssClass="ddlText" runat="server">
                        </asp:DropDownList>
                    </ContentTemplate>
                </asp:UpdatePanel>
                </td>
                <td class="tr"></td>
            </tr>
            <tr class="bgcolor">
                <th>入学时间是：</th>
                <td>
                    <asp:TextBox ID="TextBox3" CssClass="text" runat="server"></asp:TextBox></td>
                <td class="tr"></td>
            </tr>
            <tr>
                <th>上传证件：</th>
                <td>
                    <asp:FileUpload ID="fu_VerifyIamge" runat="server"/></td>
                <td class="tr"></td>
            </tr>
            <tr>
                <th>&nbsp;</th>
                <td>
                <asp:Button ID="btn_SaveVerify" runat="server" Text="保存" CssClass="active" onclick="btn_SaveVerify_Click" /></td>
            </tr>
        </tbody>
        </table>
    	</div>
		</div>
	</div>
</div>
</asp:Content>

